package com.designPattern.strategy.Vip;


import com.designPattern.strategy.VipFactory;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company: Sunshine Insurance Group Co., Ltd.</p>
 *
 * @author lbb
 * @version 1.0
 * 修改记录：
 * 修改序号，修改日期，修改人，修改内容
 */
public class Test {


    public static void main(String[] args) throws ClassNotFoundException {

       // Test.class.getClassLoader().loadClass("com.sinosig.xb.insurance.strategy.ClassTest");

      //  Class.forName("com.sinosig.xb.insurance.strategy.ClassTest");

        VipFactory vipFactory = new VipFactory();


        TicketPrice ticketPrice = vipFactory.creatTicketPrice(1);


        System.out.println(ticketPrice.ticketPrice(100D));

    }
}
